{% extends "base.html" %}

{% block title %}黑历史隐藏器{% endblock %}

{% block content %}
<div class="ui container">
    <div class="ui breadcrumb">
        <a class="section" herf="{% url 'events:index' %}">班级大事记</a>
        <i class="right angle icon divider"></i>
        <div class="active section">黑历史隐藏器</div>
    </div>

    <br/><br/>
	<form action="{% url 'events:exchange_ban' event_id %}" method="post" class="ui form">
	{% csrf_token %}
	<fieldset>
		<legend><h1>黑历史隐藏器</h1></legend>
		{{ ban_form.as_p }}
	</fieldset>

	<br/>
	<button type="submit" class="btn btn-primary">隐藏！</button>
	</form>
	<br/>
	<div class="errorlist">
		<p class="text-danger">{{ errmsg }}</p>
	</div>
	<br/>
	<p>Tips：如果在深夜的时候填最好等到0点之后，那样可以多出一天</p>
	<br/>
</div>
{% endblock %}